/**********************************************************************
 *
 * $Id: screen.css,v 1.6 2006/12/14 17:24:41 lbecchi Exp $
 *
 * purpose: css declarations for sample interface.
 *
 * purpose: This is the sample ka-Map interface.  Feel free to use it 
 *          as the basis for your own applications or just to find out
 *          how ka-Map works.
 *
 * author: Lorenzo Becchi and Andrea Cappugi (www.ominiverdi.org)
 *
 * ka-Explorer interface has been developer for Food and Agriculture 
 * Organization of the United Nations (FAO-UN)
 * 
 *
 **********************************************************************
 *
 * Copyright (c) 2006 Food and Agriculture Organization of the United Nations (FAO-UN)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
 * DEALINGS IN THE SOFTWARE.
 *
 **********************************************************************/

/* img elements with a class of png24 will have the png24 filter hack applied
 * in IE browsers only.  To make this work, images MUST have a width and height
 * specified.  The minimum tag required is:
 *
 *     <img class="png24" src="<url>" width="xx" height="xx">
 */
img.png24 { filter:expression(applyPNGFilter(this)) }

/* this is a full screen app.  Make sure that overflow is hidden so we don't
 * get scrollbars
 */
body {
    margin: 0px;
    padding: 0px;
    background-color: white;
    overflow: hidden;
}

/* the viewport contains the map and fills the screen.  The viewport can also
 * contain other elements and they appear inside the viewport on top of the map
 * which is what is done with this application.
 */
#viewport {
    position: absolute;
    background-color: #f0f0f0;
    overflow: hidden;
    border-right: 1px solid rgb(212,208,200);
    border-left: 1px solid rgb(128,128,128);
    cursor: move;
    -moz-box-sizing: border-box;
    z-index:0;
}

/* The toolbar contains the tools for changing maps and various navigation
 * and query options.  In this app, we put the toolbar at the top by making it
 * the first thing in the page.
 */
#toolbar {
    position: absolute;
    top:49px;
    left:0;
    margin:0px;
    text-align:left;
    padding:0;
    width: 100%;
/*    height: 31px;*/
    height: 64px;
    cursor: auto;   
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border:1px solid rgb(132,132,132);
	background-color:rgb(212,208,200);
    background-image: url(../../images/icon_set_qis/back.png);
    
    font-size:1px;
}

#toolbar img { vertical-align: middle }
#toolbar select { vertical-align: middle }

.subtoolbar {
	height:29px;
	display: block;
	border-left: 1px solid white;
	border-top: 1px solid white;
        border-right: 1px solid rgb(132,132,132);
        border-bottom: 1px solid rgb(132,132,132);
}
/*
* Explorer
*/
#explorer{
	position: absolute;
    top:0;
    left:0;
    margin:0;
    padding:0px;
    width: 100%;
   /* height: 80px;*/
    height: 113px;
    z-index:2;
    cursor: auto;   
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(128,128,128);
    background-color:rgb(81,83,154);
   
    color:white;
    
    
    background-image: url(../../images/icon_set_qgis/back_grass.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    
    
    overflow: hidden;
}

/* this is used to provide a semi-transparent background on divs that contain
 * fully opaque tools.  To use, put <div class="transparentBackground"></div>
 * inside an element that you want to have a semi-transparent background.
 */
#toolbarBackground {
    width: 100%;
    height: 30px;
}

#scaleBackground {
    width: 100%;
    height: 60px;
}

#geoPositionBackground {
	 width: 100%;
    height: 15px;
}

div .transparentBackground {
    position:absolute;
    top:0px;
    left:0px;
    background-color: #eee;
    filter:alpha(opacity=75); 
    -moz-opacity:0.75;
    opacity:0.75; 
    z-index: -1;
}

#keymap {
    position: relative;
   	bottom:0px;
    padding:0px;
    overflow: hidden;
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
    z-index: 4;
    border: 1px solid #999;
    margin-bottom:20px;
    margin-left:auto;
    margin-right:auto;
}

#keymap div {
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
}

#keymap img {
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
}


/* REFERENCE */


#geoPosition {
    padding:0px;
    margin: 2px;
    margin-left:13px;
    font-size:7pt;
    color: #333333;
    
}
#geoExtent{
	display:none;
}

#legend {

    position: relative;
   /* width:254px;*/
    padding:0px;
    margin: 0px;
    /*overflow:auto;*/
}

#print {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#search {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#mapInfo {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#mapLegend {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#link {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}


#identifier {
	position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#scale {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    position: relative;
    padding:0px;
    width: 250px;
    text-align: center;
    margin-top: 48px;
}

/*
#scalebar {
    margin-bottom: 20px;
    margin-top: 20px;
}
*/

#scaleReference {
	position:absolute;
	z-index:2;
	right:0px;
	bottom:0px;
    padding:0px;
    border: 1px solid #999;
    height: 45px;
    width:200px;
}

#geoPositionReference {
	position:absolute;
	z-index:2;
	right:0px;
	bottom:48px;
    padding:0px;
    border: 1px solid #999;
    height: 15px;
    width:200px; 
	font-size:0.9em;
}

#geoPositionReference h5{
	display:none;
}

#fileManager,#layerManager,#toolBufferManager,#toolVisibilityManager,#toolRouterManager,#toolNatrouterManager  {
	position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}
/* SEARCH SYSTEM */




/* CLASSES */

.label {
    font-family: arial;
    font-size: 11px;
    font-weight: normal;
}
.value {
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
}

.separator {
	margin-right:3px;
	margin-left:3px;
}


.kmTitle {
	position:relative;
	top:10px;
	display:inline;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    font-weight: bold;
	font-variant: small-caps;
	margin-left:80px;
	color:rgb(200,20,20);
}

.kmSubtitle{
	position:relative;
	display:inline;
	font-family: Verdana, sans-serif;
    font-size: 16px;
	margin-left:20px;
	top:10px;
	color:rgb(40,40,40);
}

.minimenu {
	position:absolute;
	top:15px;
	right:15px;
	color:rgb(120,120,120);
	font-weight: bold;
	font-family: Times, sans-serif;
	text-transform: uppercase;
    font-size: 16px;
}
.minimenu a {
	color:#C81414;
	font-size:0.7em;
	text-decoration:none;
}
.minimenu span {
	margin-left:10px;
}



/* HTML TAGS */
input {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
}

select {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    width: 150px;
}

label {
	margin-top:15px;
}
a { 

}

hr {
	border:0;
	border-top: 1px solid white;
    border-bottom: 1px solid rgb(128,128,128);
    background-color:rgb(212,208,200); 
    height:3px;   
}

a:link {}
a:hover {}
a:active {}
a:visited {}


/* OTHERS */


#kaLogo {
    position: absolute;
    left: 16px;
    top: 3px;
    z-index: 2;
}

#kaLogo a {
    color:rgb(0,0,0);
}

.kaLegendTitle {  
    padding: 2px;
    padding-bottom:10px;
    font-size: 13px;
    font-weight: bold;
}

.kaLegendLayer  {
    border-top: 1px solid rgb(212,208,200); 
    padding: 2px;
    padding-top:7px;
    padding-bottom:7px;
    font-size: 12px;
}

#contributors {
    display: none;
}

/* 
 	KA-EXPLORER LAYOUT
*/
#page {
	position: absolute;
	left:0;
	top:0;
	padding:1px;
	border:1px solid black;	
    overflow: hidden;
}
#layoutFrame {
	position: absolute;
	border-top:0px;
    border-bottom: 1px solid rgb(128,128,128);
    font-family:Verdana, serif;
}



#service {
	position:absolute;
	width:254px;
	overflow:hidden;
	border:0px;
	border-right: 3px solid rgb(212,208,200);
    border-left: 1px solid rgb(128,128,128);
    border-bottom: 1px solid rgb(212,208,200);
}
#service fieldset {
	border:1px solid rgb(132,132,132);
	font-size:8pt;
}
#service  p {
	margin:2px;
	padding:8px;
	font-size:8pt;
}
#service fieldset p {
	padding:0;
	margin:0;
	margin-top:4px;
	margin-bottom:2px;
}

#service  a {
}


#curtain {
	position:absolute;
	top:0px;
	left:0px;
	z-index:4;
	width:600px;
	height:2000px;
	background-color:white;
	text-align:left;
}


#content {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgb(128,128,128);
    -moz-box-sizing: border-box;
    display:none;
    z-index:0;
}

#contentButton {
    position: absolute;
    right:12px;
    top:9px;
    
    filter:alpha(opacity=75); 
    -moz-opacity:0.75;
    opacity:0.75; 
}

#contentBackground {
	 width: 100%;
    height: 60px;
}
#contentText {
	overflow: auto;
	position:absolute;
	top:30px;
	left:15px;
	border: 1px solid rgb(212,208,200);
}


#page h1,#page h2,#page h3{
	text-align:left;
	font-size:12pt;
	margin:4px;
	margin-bottom:15px;
	color:rgb(20,20,40);
}
#page h4,#page h5,#page h6{
	text-align:left;
	font-size:10pt;
	margin:4px;
	margin-bottom:8px;
	color:rgb(20,20,40);
}


#page form{
	margin:4px;
	font-size:10pt;
}

#mapTitle{
	margin:6px;	
}

#data th {
    border:1px solid black;
    font-size:8pt;
    padding:2pt;
    background: rgb(170,170,170);
    color: white; 
    font-weight:bold;  
}

#data td {
    border-bottom:1px solid black;
    font-size:8pt;
    padding:2pt;
}

#link a {
	margin-left:10px;
	font-size:10pt;
	text-decoration:underline;
}
#link a:hover {
	text-decoration:none;
}


#faologo {
	position:absolute;
	right:0;
	top:0;
}
#povertylogo {
	position:absolute;
	left:0;
	top:0;
}

.styleSLD {
	display:none;
}
